<?php
namespace ITSociaal\Themes\Lumber\Hooks;

/**
 * add_filter/add_action parameters
 */
class Hook {

	/** @var string */
	public $tag;

	/** @var callable */
	public $callback;

	/** @var int */
	public $priority;

	/** @var int */
	public $accepted_args;

	/**
	 * Constructor
	 *
	 * @param string   $tag
	 * @param callable $callback
	 * @param int      $priority
	 * @param int      $accepted_args
	 */
	public function __construct(
		$tag,
		$callback,
		$priority = 10,
		$accepted_args = 1
	) {
		$this->tag = $tag;
		$this->callback = $callback;
		$this->priority = $priority;
		$this->accepted_args = $accepted_args;
	}

}

/* vi:set ts=4 sw=4 noet: */
